package sakila.gui.film;

import java.util.List;

import javax.swing.table.AbstractTableModel;

import sakila.bll.FilmBiz;
import sakila.dto.film.FilmDTO;
import sakila.sakilaexcetion.SakilaException;

public class TableFilmModel extends AbstractTableModel
{

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1781793846810446758L;

	/** The film business logic. */
	private FilmBiz filmBiz;

	/** The list films. */
	public List<FilmDTO> lstFilms;

	/**
	 * Instantiates a new table film model.
	 * 
	 * @throws SakilaException
	 */
	public TableFilmModel() throws SakilaException
	{
		this.filmBiz = new FilmBiz();
		this.lstFilms = this.filmBiz.getAll();
	}

	public int getColumnCount()
	{
		// TODO Auto-generated method stub
		return 0;
	}

	public int getRowCount()
	{
		// TODO Auto-generated method stub
		return 0;
	}

	public Object getValueAt(int arg0, int arg1)
	{
		// TODO Auto-generated method stub
		return null;
	}

}
